import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif']=['KaiTi']
x=['徐州','临沂','济宁','菏泽','连云港','宿迁','商丘','宿州','枣庄','淮北']
y=[7151,4600,4370,3410,3139,3099,2911,1979,1694,1078]
plt.pie(y,labels=x,explode=[0.1,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01],autopct='%.2f%%')
plt.title('2019年各城市GDP')
plt.show()